package com.zjmzxfzhl.modules.purchase.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 【】实体类
 *
 * @author 庄金明
 */
@Getter
@Setter
public class PurchasePaymentModel {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 所属合同id
     */
    private Long contractId;

    private String contractCode;

    private String contractState;

    private String invoice;
    private String aogSituation;

    /**
     * 付款单编号
     */
    private String paymentCode;

    /**
     * 比例
     */
    private BigDecimal proportion;

    /**
     * 付款金额
     */
    private BigDecimal payAmount;

    /**
     * 付款日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date paymentDate;

    /**
     * 付款审批状态
     */
    private String paymentApprovalState;

    /**
     * 付款情况
     */
    private String paymentSituation;

    /**
     * 备注
     */
    private String paymentComment;


}
